function toastSuccess(heading,text) {
    $.toast({
        text: text,
        heading: heading,
        icon: 'success',
        showHideTransition: 'slide',
        allowToastClose: true,
        hideAfter: 5000,
        stack: 5,
        position: 'top-center',
        
        
        textAlign: 'left', 
        loader: false, 
        loaderBg: '#9ec600', 
        beforeShow: function () {},
        afterShown: function () {},
        beforeHide: function () {},
        afterHidden: function () {} 
    });
}

function toastError(heading,text) {
   $.toast({
        text: text,
        heading: heading,
        icon: 'error',
        showHideTransition: 'slide',
        allowToastClose: true,
        // hideAfter: false,
        hideAfter: 5000,
        stack: 5,
        position: 'top-center',
        
        
        textAlign: 'left', 
        loader: false, 
        loaderBg: '#9ec600', 
        beforeShow: function () {},
        afterShown: function () {},
        beforeHide: function () {},
        afterHidden: function () {} 
    });
}

function toastInfo(heading,text) {
   $.toast({
        text: text,
        heading: heading,
        icon: 'info',
        showHideTransition: 'slide',
        allowToastClose: true,
        hideAfter: 5000,
        stack: 5,
        position: 'top-center',
        
        
        textAlign: 'left', 
        loader: false, 
        loaderBg: '#9ec600', 
        beforeShow: function () {},
        afterShown: function () {},
        beforeHide: function () {},
        afterHidden: function () {} 
    });
}

function toastWarning(heading,text) {
   $.toast({
        text: text,
        heading: heading,
        icon: 'warning',
        showHideTransition: 'slide',
        allowToastClose: true,
        hideAfter: 5000,
        stack: 5,
        position: 'top-center',
        
        
        textAlign: 'left', 
        loader: false, 
        loaderBg: '#9ec600', 
        beforeShow: function () {},
        afterShown: function () {},
        beforeHide: function () {},
        afterHidden: function () {} 
    });
}

function toastDefault(heading,text) {
   $.toast({
        text: text,
        allowToastClose: true,
        hideAfter: 5000,
        position: 'mid-center',
        textAlign: 'center',
        loader: false,
    })
}